﻿<?xml version="1.0" encoding="utf-8" ?>
<!--
	Configure this template:
	1. set the Root and DirectoryName either in the job, or the -n commandline switch
	2. define the SecurityEntries of the directory, and optionally any sub-directories to be created
	3. define the members referenced in the SecurityEntries
	
	#if ( ! ${Root} ) #set ( ${Root} = '.\Test' ) #end
-->
<Configuration xmlns="http://www.utillity.com/schemas/rave/v1" 
							 targetSystem="NtfsFileSystem"
							 rootDirectory="$!{Root}">
	<!-- FileSystemRights:
					AppendData ChangePermissions CreateDirectories CreateFiles Delete DeleteSubdirectoriesAndFiles ExecuteFile 
					FullControl ListDirectory Modify Read ReadAndExecute ReadAttributes ReadData ReadExtendedAttributes 
					ReadPermissions Synchronize TakeOwnershop Traverse Write WriteAttributes WriteData WriteExtendedAttributes -->
	<Directories>
    <Directory>
      <Name>$!{DirectoryName}</Name>
      <SecurityEntries>
				<!--
				<SecurityEntry type="User">
					<MemberID>Owner</MemberID>
					<Rights>FullControl, Synchronize</Rights>
				</SecurityEntry>
        <SecurityEntry type="Group">
          <MemberID>Members</MemberID>
          <Rights>Write, Synchronize</Rights>
        </SecurityEntry>
				-->
      </SecurityEntries>
      <SubDirectories></SubDirectories>
    </Directory>
  </Directories>
  <Members>
		<!--
    <Member type="Group" id="Members">
      <Identifier>Members of $!{DirectoryName}</Identifier>
      <IdentificationType>cn</IdentificationType>
      <CreationConfiguration>
        <GroupCreationConfiguration xmlns="http://www.utillity.com/schemas/rave/v1/ntfs" scope="DomainLocal" type="Security">
          <CreationOU>OU=RaveTest,DC=private,DC=company,DC=local</CreationOU>
          <Members>
            <ID>Owner</ID>
          </Members>
					<Attributes>
						<Attribute name="Description">Members of this group have RW Access to $!{Root}\\$!{DirectoryName}</Attribute>
					</Attributes>
        </GroupCreationConfiguration>
      </CreationConfiguration>
    </Member>
    <Member type="User" id="Owner">
      <Identifier>Administrator</Identifier>
      <IdentificationType>sAMAccountName</IdentificationType>
    </Member>
		-->
  </Members>
</Configuration>